using Sage.Http.Core;

namespace Sage.Http.Factory
{
    /// <summary>
    /// HTTP请求管理器工厂接口
    /// </summary>
    public interface IHttpRequestManagerFactory : IDisposable, IAsyncDisposable
    {
        /// <summary>
        /// 获取HTTP请求管理器
        /// </summary>
        /// <param name="name">客户端名称</param>
        /// <returns>HTTP请求管理器</returns>
        IHttpRequestManager GetHttpRequestManager(string name);
    }
}